<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::on_nurbs::Triangulation类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1on__nurbs_1_1_triangulation.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pro-static-methods">静态 Protected 成员函数</a> &#124;
<a href="classpcl_1_1on__nurbs_1_1_triangulation-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::on_nurbs::Triangulation类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>Functions for NURBS surface triangulation, trimming and curve sampling.  
 <a href="classpcl_1_1on__nurbs_1_1_triangulation.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="triangulation_8h_source.html">triangulation.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a8668df37298b2a1d1504ce2f9567fd26"><td class="memItemLeft" align="right" valign="top"><a id="a8668df37298b2a1d1504ce2f9567fd26"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>isInside</b> (const <a class="el" href="class_o_n___nurbs_curve.html">ON_NurbsCurve</a> &amp;curve, const <a class="el" href="structpcl_1_1_point_x_y_z.html">pcl::PointXYZ</a> &amp;v)</td></tr>
<tr class="separator:a8668df37298b2a1d1504ce2f9567fd26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abeff01d4b7611d8136c0375ecbc2a1b2"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_triangulation.html#abeff01d4b7611d8136c0375ecbc2a1b2">convertSurface2PolygonMesh</a> (const <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> &amp;nurbs, <a class="el" href="structpcl_1_1_polygon_mesh.html">PolygonMesh</a> &amp;mesh, unsigned resolution)</td></tr>
<tr class="memdesc:abeff01d4b7611d8136c0375ecbc2a1b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts an openNURBS NurbsSurface to a <a class="el" href="structpcl_1_1_polygon_mesh.html">pcl::PolygonMesh</a> by sampling the NURBS according to the resolution specified.  <a href="classpcl_1_1on__nurbs_1_1_triangulation.html#abeff01d4b7611d8136c0375ecbc2a1b2">更多...</a><br /></td></tr>
<tr class="separator:abeff01d4b7611d8136c0375ecbc2a1b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c56b91ecc3c19e6c11985e824039746"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_triangulation.html#a7c56b91ecc3c19e6c11985e824039746">convertTrimmedSurface2PolygonMesh</a> (const <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> &amp;nurbs, const <a class="el" href="class_o_n___nurbs_curve.html">ON_NurbsCurve</a> &amp;curve, <a class="el" href="structpcl_1_1_polygon_mesh.html">PolygonMesh</a> &amp;mesh, unsigned resolution)</td></tr>
<tr class="memdesc:a7c56b91ecc3c19e6c11985e824039746"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts an openNURBS NurbsSurface to a <a class="el" href="structpcl_1_1_polygon_mesh.html">pcl::PolygonMesh</a> by sampling the NURBS according to the resolution specified.  <a href="classpcl_1_1on__nurbs_1_1_triangulation.html#a7c56b91ecc3c19e6c11985e824039746">更多...</a><br /></td></tr>
<tr class="separator:a7c56b91ecc3c19e6c11985e824039746"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a249e99c2fb16b7afbf6bd0a73f08ad"><td class="memItemLeft" align="right" valign="top"><a id="a8a249e99c2fb16b7afbf6bd0a73f08ad"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>convertTrimmedSurface2PolygonMesh</b> (const <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> &amp;nurbs, const <a class="el" href="class_o_n___nurbs_curve.html">ON_NurbsCurve</a> &amp;curve, <a class="el" href="structpcl_1_1_polygon_mesh.html">PolygonMesh</a> &amp;mesh, unsigned resolution, vector_vec3d &amp;start, vector_vec3d &amp;end)</td></tr>
<tr class="separator:a8a249e99c2fb16b7afbf6bd0a73f08ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a967088db0a58c49af42c6b0c3ca9a105"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_triangulation.html#a967088db0a58c49af42c6b0c3ca9a105">convertSurface2Vertices</a> (const <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> &amp;nurbs, <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z.html">pcl::PointXYZ</a> &gt;::Ptr cloud, std::vector&lt; <a class="el" href="structpcl_1_1_vertices.html">pcl::Vertices</a> &gt; &amp;vertices, unsigned resolution)</td></tr>
<tr class="memdesc:a967088db0a58c49af42c6b0c3ca9a105"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts an openNURBS NurbsSurface to a point-cloud (vertices) and an vertex-index list by sampling the NURBS according to the resolution specified.  <a href="classpcl_1_1on__nurbs_1_1_triangulation.html#a967088db0a58c49af42c6b0c3ca9a105">更多...</a><br /></td></tr>
<tr class="separator:a967088db0a58c49af42c6b0c3ca9a105"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace10d6954a864317126779c2423905ce"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_triangulation.html#ace10d6954a864317126779c2423905ce">convertCurve2PointCloud</a> (const <a class="el" href="class_o_n___nurbs_curve.html">ON_NurbsCurve</a> &amp;nurbs, <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b.html">pcl::PointXYZRGB</a> &gt;::Ptr cloud, unsigned resolution)</td></tr>
<tr class="memdesc:ace10d6954a864317126779c2423905ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts an openNURBS NurbsCurve to a sequence of points 'cloud', by ELEMENT-WISE sampling of the curve according to the resolution specified.  <a href="classpcl_1_1on__nurbs_1_1_triangulation.html#ace10d6954a864317126779c2423905ce">更多...</a><br /></td></tr>
<tr class="separator:ace10d6954a864317126779c2423905ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afce9a6970ba89348706092317292e00f"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_triangulation.html#afce9a6970ba89348706092317292e00f">convertCurve2PointCloud</a> (const <a class="el" href="class_o_n___nurbs_curve.html">ON_NurbsCurve</a> &amp;curve, const <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> &amp;surf, <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b.html">pcl::PointXYZRGB</a> &gt;::Ptr cloud, unsigned resolution)</td></tr>
<tr class="memdesc:afce9a6970ba89348706092317292e00f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts an openNURBS NurbsCurve, defined on an NurbsSurface to a sequence of points 'cloud', by ELEMENT-WISE sampling of the curve according to the resolution specified.  <a href="classpcl_1_1on__nurbs_1_1_triangulation.html#afce9a6970ba89348706092317292e00f">更多...</a><br /></td></tr>
<tr class="separator:afce9a6970ba89348706092317292e00f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
静态 Protected 成员函数</h2></td></tr>
<tr class="memitem:ad024ef1c4d86d4d624b3063dba61d073"><td class="memItemLeft" align="right" valign="top"><a id="ad024ef1c4d86d4d624b3063dba61d073"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_triangulation.html#ad024ef1c4d86d4d624b3063dba61d073">createIndices</a> (std::vector&lt; <a class="el" href="structpcl_1_1_vertices.html">pcl::Vertices</a> &gt; &amp;vertices, unsigned vidx, unsigned segX, unsigned segY)</td></tr>
<tr class="memdesc:ad024ef1c4d86d4d624b3063dba61d073"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create indices for triangulation. <br /></td></tr>
<tr class="separator:ad024ef1c4d86d4d624b3063dba61d073"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe08e5057b4ab7194b410ad753290d80"><td class="memItemLeft" align="right" valign="top"><a id="afe08e5057b4ab7194b410ad753290d80"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_triangulation.html#afe08e5057b4ab7194b410ad753290d80">createVertices</a> (<a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z.html">pcl::PointXYZ</a> &gt;::Ptr &amp;cloud, float x0, float y0, float z0, float width, float height, unsigned segX, unsigned segY)</td></tr>
<tr class="memdesc:afe08e5057b4ab7194b410ad753290d80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create vertices (cloud) for triangulation. <br /></td></tr>
<tr class="separator:afe08e5057b4ab7194b410ad753290d80"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Functions for NURBS surface triangulation, trimming and curve sampling. </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="afce9a6970ba89348706092317292e00f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afce9a6970ba89348706092317292e00f">&#9670;&nbsp;</a></span>convertCurve2PointCloud() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void pcl::on_nurbs::Triangulation::convertCurve2PointCloud </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_o_n___nurbs_curve.html">ON_NurbsCurve</a> &amp;&#160;</td>
          <td class="paramname"><em>curve</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> &amp;&#160;</td>
          <td class="paramname"><em>surf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b.html">pcl::PointXYZRGB</a> &gt;::Ptr&#160;</td>
          <td class="paramname"><em>cloud</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>resolution</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts an openNURBS NurbsCurve, defined on an NurbsSurface to a sequence of points 'cloud', by ELEMENT-WISE sampling of the curve according to the resolution specified. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">nurbs</td><td>The openNURBS surface. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">cloud</td><td>The actual vertices (point-cloud). </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">resolution</td><td>number of sampling points within one NurbsCurve element. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ace10d6954a864317126779c2423905ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace10d6954a864317126779c2423905ce">&#9670;&nbsp;</a></span>convertCurve2PointCloud() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void pcl::on_nurbs::Triangulation::convertCurve2PointCloud </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_o_n___nurbs_curve.html">ON_NurbsCurve</a> &amp;&#160;</td>
          <td class="paramname"><em>nurbs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b.html">pcl::PointXYZRGB</a> &gt;::Ptr&#160;</td>
          <td class="paramname"><em>cloud</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>resolution</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts an openNURBS NurbsCurve to a sequence of points 'cloud', by ELEMENT-WISE sampling of the curve according to the resolution specified. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">nurbs</td><td>The openNURBS surface. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">cloud</td><td>The actual vertices (point-cloud). </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">resolution</td><td>number of sampling points within one NurbsCurve element. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="abeff01d4b7611d8136c0375ecbc2a1b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abeff01d4b7611d8136c0375ecbc2a1b2">&#9670;&nbsp;</a></span>convertSurface2PolygonMesh()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void pcl::on_nurbs::Triangulation::convertSurface2PolygonMesh </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> &amp;&#160;</td>
          <td class="paramname"><em>nurbs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structpcl_1_1_polygon_mesh.html">PolygonMesh</a> &amp;&#160;</td>
          <td class="paramname"><em>mesh</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>resolution</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts an openNURBS NurbsSurface to a <a class="el" href="structpcl_1_1_polygon_mesh.html">pcl::PolygonMesh</a> by sampling the NURBS according to the resolution specified. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">nurbs</td><td>The openNURBS surface. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">mesh</td><td>The <a class="el" href="structpcl_1_1_polygon_mesh.html">pcl::PolygonMesh</a> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">resolution</td><td>mesh resolution (number of vertices along each of the two dimensions of the surface. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a967088db0a58c49af42c6b0c3ca9a105"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a967088db0a58c49af42c6b0c3ca9a105">&#9670;&nbsp;</a></span>convertSurface2Vertices()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void pcl::on_nurbs::Triangulation::convertSurface2Vertices </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> &amp;&#160;</td>
          <td class="paramname"><em>nurbs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z.html">pcl::PointXYZ</a> &gt;::Ptr&#160;</td>
          <td class="paramname"><em>cloud</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="structpcl_1_1_vertices.html">pcl::Vertices</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>vertices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>resolution</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts an openNURBS NurbsSurface to a point-cloud (vertices) and an vertex-index list by sampling the NURBS according to the resolution specified. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">nurbs</td><td>The openNURBS surface. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">cloud</td><td>The actual vertices (point-cloud). </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">vertices</td><td>The vertex-indices for a polygon mesh. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">resolution</td><td>mesh resolution (number of vertices along each of the two dimensions of the surface. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7c56b91ecc3c19e6c11985e824039746"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c56b91ecc3c19e6c11985e824039746">&#9670;&nbsp;</a></span>convertTrimmedSurface2PolygonMesh()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void pcl::on_nurbs::Triangulation::convertTrimmedSurface2PolygonMesh </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> &amp;&#160;</td>
          <td class="paramname"><em>nurbs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_o_n___nurbs_curve.html">ON_NurbsCurve</a> &amp;&#160;</td>
          <td class="paramname"><em>curve</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structpcl_1_1_polygon_mesh.html">PolygonMesh</a> &amp;&#160;</td>
          <td class="paramname"><em>mesh</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>resolution</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts an openNURBS NurbsSurface to a <a class="el" href="structpcl_1_1_polygon_mesh.html">pcl::PolygonMesh</a> by sampling the NURBS according to the resolution specified. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">nurbs</td><td>The nurbs surface. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">curve</td><td>The nurbs curve for trimming (direction of curve decides if inside or outside is trimmed) </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">mesh</td><td>The <a class="el" href="structpcl_1_1_polygon_mesh.html">pcl::PolygonMesh</a> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">resolution</td><td>mesh resolution (number of vertices along each of the two dimensions of the surface. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>surface/include/pcl/surface/on_nurbs/<a class="el" href="triangulation_8h_source.html">triangulation.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>on_nurbs</b></li><li class="navelem"><a class="el" href="classpcl_1_1on__nurbs_1_1_triangulation.html">Triangulation</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
